<div class="modal-content">
    <div class="modal-header">
        <button type="button" class="close" ng-click="myopen.opt_close()" aria-label="Close">
      <em class="ion-ios-close-empty sn-link-close"></em>
    </button>
        <h3 class="modal-title text-center">
            <samll>编辑健康豆规则</samll>
        </h3>
    </div>
    <form class="form-horizontal ng-pristine ng-valid ng-scope">
        <div class="form-group">
            <h5 class="col-sm-2 text-right">健康豆项目</h5>
            <div class="col-sm-9 text-left">
                <span class="tag label label-primary study">{{integralrule.name}}</span>
            </div>
        </div>
        <div class="form-group">
            <h5 for="inputEmail3" class="col-sm-2 control-label">单次健康豆</h5>
            <div class="col-sm-4">
                <input type="text" class="form-control" placeholder="单次健康豆" ng-model="integralrule.num">
            </div>
            <h5 for="inputEmail3" class="col-sm-2 control-label">上限次数</h5>
            <div class="col-sm-2">
                <input type="text" class="form-control" placeholder="上限次数" ng-model="integralrule.limit">
            </div>
            <div class="col-sm-2">
                <div class="col-sm-2"><label class="radio-inline custom-radio nowrap"><input type="radio" name="inlineRadioOp" id="inlineRadio1" value="无限制" ng-checked="!integralrule.islimit" checked="checked" ng-click="radio_cl()"> <span>无限制</span></label></div>
            </div>
        </div>
        <div class="form-group">
            <h5 class="col-sm-2 text-right">循环周期</h5>
            <div class="col-sm-9 text-left">
                <div class="col-sm-2"><label class="radio-inline custom-radio nowrap"><input type="radio" name="inlineRadi" id="inlineRadio1" value="天" ng-checked="integralrule.cycletime==1" ng-click="integralrule.cycletime=1;integralrule.limit='1'" checked="checked"> <span>天</span></label></div>
                <div class="col-sm-2"><label class="radio-inline custom-radio nowrap"><input type="radio" name="inlineRadi" id="inlineRadio1" value="无" ng-checked="integralrule.cycletime==0" ng-click="integralrule.cycletime=0;integralrule.limit=''" checked="checked"> <span>无</span></label></div>
            </div>
        </div>
        <div class="form-group">
            <h5 class="col-sm-2 text-right">任务描述</h5>
            <div class="col-sm-9 text-left">
                <input type="text" class="form-control" placeholder="任务描述" ng-model="integralrule.describe">
            </div>
        </div>
        <div class="form-group">
            <h5 class="col-sm-2 text-right">任务说明</h5>
            <div class="col-sm-9 text-left">
                <textarea placeholder="任务说明" class="form-control" id="textarea01" maxlength="2000" ng-model="integralrule.missiondesc">

                </textarea>
            </div>
        </div>
    </form>
    <div class="modal-footer">
        <button type="button" class="btn btn-warning" ng-click="myopen.opt_close()">取消</button>
        <button type="button" class="btn btn-primary" ng-click="shezhi()">完成</button>
    </div>
</div>